package com.hu.zhcc.shiro.service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hu.zhcc.shiro.dao.Tj_TExaminationReportMapper;
import com.hu.zhcc.shiro.entity.tj.TExaminationReport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 体检报告表 服务实现类
 * </p>
 *
 * @author tj
 * @since 2021-06-28
 */
@Service
public class Tj_TExaminationReportServiceImpl extends ServiceImpl<Tj_TExaminationReportMapper, TExaminationReport> implements Tj_TExaminationReportService {
    @Autowired
    private Tj_TExaminationReportMapper tjTExaminationReportMapper;
    @Override
    public List<TExaminationReport> queryAll(int id) {
        return tjTExaminationReportMapper.queryAll(id);
    }


    @Override
    public int add(TExaminationReport tExaminationReport) {
        return tjTExaminationReportMapper.add(tExaminationReport);
    }

    @Override
    public int sc(int id) {
        return tjTExaminationReportMapper.sc(id);
    }
}
